home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Controls
/
Visual Basic Controls.iso
/
vbcontrol
/
polardrw
/
data.z
/
ViewSetupDlg.cpp
< prev
next >
Wrap
C/C++ Source or Header
|
1999-04-06
|
1KB
|
52 lines
// ViewSetupDlg.cpp : implementation file
//
#include "stdafx.h"
#include "DrawOcxTest.h"
#include "ViewSetupDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CViewSetupDlg dialog
CViewSetupDlg::CViewSetupDlg(CWnd* pParent /*=NULL*/)
: CDialog(CViewSetupDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CViewSetupDlg)
m_nRulerUnits = -1;
m_nUnits = -1;
m_nHorGrid = 0;
m_nVertGrid = 0;
//}}AFX_DATA_INIT
}
void CViewSetupDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CViewSetupDlg)
DDX_CBIndex(pDX, IDC_RULERUNITS, m_nRulerUnits);
DDX_CBIndex(pDX, IDC_UNITS, m_nUnits);
DDX_Text(pDX, IDC_HORGRID, m_nHorGrid);
DDV_MinMaxInt(pDX, m_nHorGrid, 0, 10000);
DDX_Text(pDX, IDC_VERTGRID, m_nVertGrid);
DDV_MinMaxInt(pDX, m_nVertGrid, 0, 10000);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CViewSetupDlg, CDialog)
//{{AFX_MSG_MAP(CViewSetupDlg)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CViewSetupDlg message handlers